//SPDX-FileCopyrightText: Copyright 2022-2024 深圳市同心圆网络有限公司
//SPDX-License-Identifier: GPL-3.0-only

.cardWrap {
  position: relative;
  width: calc(100% - 108px);
  height: 100%;
  margin: 0 0 22px 50px;
  // overflow: hidden;
  background: #fff;
  border: 1px solid #e4e4e8;
  border-top: none;
  border-radius: 10px 0 0 10px;
  box-shadow: 0 4px 18px 0 rgba(154, 168, 178, 0.28);

  .packup {
    position: absolute;
    top: 16px;
    left: -30px;
    width: 30px;
    height: 34px;
    color: #c2cad8;
    line-height: 34px;
    text-align: center;
    background: #fff;
    border: 1px solid #f4f4f6;
    border-radius: 8px 0 0 8px;
    cursor: pointer;

    svg {
      width: 14px;
      height: 10px;
    }

    &:hover {
      color: #2997ff;
    }
  }

  .child {
    height: 100%;

    &.isTitle {
      height: calc(100% - 56px);
      overflow: auto;
    }
  }

  .title {
    display: flex;
    justify-content: flex-end;
    border-bottom: 1px solid #f0f0f5;
    padding-right: 20px;
    h2 {
      margin: 0;
      padding: 16px 0 16px 20px;
      color: #2c2d2e;
      font-weight: 700;
      font-size: 14px;
      flex: 1;
    }
  }
}